package com.yummy.dto;


import com.yummy.entity.Role;

import java.io.Serializable;
import java.util.Arrays;
import java.util.Date;
import java.util.List;

public class ManagerVo implements Serializable {
    private Integer id;

    private String username;

    private String password;

    private String email;

    private String phone;
    private Integer isDelete;
    private Integer status;
    //接收选中的角色ID
    private int[] roleIds;

    private Date insertTime;
    private Date updateTime;

    private List<Role> roles ;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }



    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }



    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public int[] getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(int[] roleIds) {
        this.roleIds = roleIds;
    }

    public Date getInsertTime() {
        return insertTime;
    }

    public void setInsertTime(Date insertTime) {
        this.insertTime = insertTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public List<Role> getRoles() {
        return roles;
    }

    public void setRoles(List<Role> roles) {
        this.roles = roles;
    }



    //    private List<ManagerDept> managerDept;
}
